﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.CSharp;
using System.CodeDom.Compiler;
using System.Reflection;

namespace ExpressionEvaluation
{
    class Program
    {
        static void Main(string[] args)
        {
            string expression = Console.ReadLine();
            ExpressionEvaluator expressionEvaluator = new ExpressionEvaluator();
            Console.WriteLine(expressionEvaluator.Evaluate(expression));
            Console.ReadLine();
        }
    }
}
